package cn.wangsy.zhidao.p20170116;

public class ThreadDemo4 {
	public static void main(String[] args) {
		char ch = '7';
		if(ch>='0' && ch<='9'){
			System.out.println("ch为数字");
		}
		if ((ch>='a' && ch <= 'z') || (ch>='A' && ch <= 'Z')) {
			System.out.println("ch为字母");
		}
	}
}

/**
System.out.println((int)'a');
		System.out.println((int)'z');
		
		System.out.println((int)'A');
		System.out.println((int)'Z');
		*/
